package edu.zut.bailan.teach.service;

import edu.zut.bailan.base.service.GenericManager;
import edu.zut.bailan.teacher.domain.Student;


import java.util.List;

public interface StudentManager extends GenericManager<Student, Long> {

    /**
     * get edu.zut.bailan.student list by given code
     *
     * @param code
     * @return
     */
    List<Student> findByCode(String code);

    /**
     *   find edu.zut.bailan.student by given fullname
     * @param fullname
     * @return
     */
    List<Student> findByFullname(String fullname);
}
